package com.mobrite.domaindroid.util;

public class RegistrarHelper {

	public static final String[] REGISTRAR_LIST = new String[] {
		"ENom",
		"Register.com",
		"fastdomain.com"
	};
	
	public static final String getRegisterUrlForDomain (int registrarIndex, String domainWithoutTld, String tld) {
		switch (registrarIndex) {
		case 0:
			return "http://www.enom.com/domainsearch/register.aspx?sld="+domainWithoutTld+"&tld="+tld;
		case 1:
			return "http://www.register.com/domain/searchresults.rcmx?domain="+domainWithoutTld+"&selectedTLDs=."+tld;
		case 2:
			return "https://www.fastdomain.com/cgi-bin/signup?domain="+domainWithoutTld+"."+tld+"&domain_action=register&tld="+tld;
		default:
			break;
		}
		
		return "";
	}
}
